<div>
  <h2>基本用法</h2>
  <el-button type="text" ng-click="onClick()">点击打开 Dialog</el-button>
  <el-dialog title="提示" width="30%" visible="dialogVisible" show-close="true" close-on-click-modal="false">
    <content>
      <p>这是一段内容</p>
    </content>
    <footer>
      <el-button type="primary" ng-click="confirm()">确定</el-button>
      <el-button ng-click="cancel()">取消</el-button>
    </footer>
  </el-dialog>
</div>